#include <stdio.h>

void main(int x, int y){
    scanf("%d %d",&x,&y);
    x^=y;
    y^=x;
    x^=y;
    printf("%d %d",x,y);
}
